package per.ethan.cloud.provider.core.service.impl;

import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import per.ethan.cloud.common.mapper.BaseMapper;
import per.ethan.cloud.common.service.impl.BaseServiceImpl;
import per.ethan.cloud.provider.core.mapper.PaymentMapper;
import per.ethan.cloud.provider.core.service.PaymentService;
import per.ethan.cloud.provider.api.entity.Payment;

/**
 * @author Ethan
 * @date 2020/03/11 13:15
 */
@Service
@RequiredArgsConstructor(onConstructor_ = @Autowired)
public class PaymentServiceImpl extends BaseServiceImpl<Payment> implements PaymentService {

    private final PaymentMapper paymentMapper;

    @Override
    protected BaseMapper<Payment> getBaseMapper() {
        return this.paymentMapper;
    }
}
